Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UIBULKED-210: Improve user errors for invalid data - IncorrectTokenCountException error #476

Merged
merged 5 commits into from
Feb 14, 2024

Conversation

UladzislauKutarkin
Copy link
Contributor

https://folio-org.atlassian.net/browse/UIBULKED-210
Here made user friendly callout.

Screen.Recording.2024-02-12.at.15.53.08.mov

@UladzislauKutarkin UladzislauKutarkin requested review from vashjs and a team February 12, 2024 11:54
Copy link

github-actions bot commented Feb 12, 2024

Jest Unit Test Statistics

    1 files  ±0    33 suites  ±0   2m 57s ⏱️ +2s
195 tests ±0  194 ✔️ ±0  1 💤 ±0  0 ±0 
198 runs  ±0  197 ✔️ ±0  1 💤 ±0  0 ±0 

Results for commit 61c4947. ± Comparison against base commit 664a291.

♻️ This comment has been updated with latest results.

Copy link

github-actions bot commented Feb 12, 2024

BigTest Unit Test Statistics

0 tests  ±0   0 ✔️ ±0   0s ⏱️ ±0s
0 suites ±0   0 💤 ±0 
0 files   ±0   0 ±0 

Results for commit 61c4947. ± Comparison against base commit 664a291.

♻️ This comment has been updated with latest results.

@@ -210,7 +210,7 @@ export const BulkEditListFilters = ({
setIsFileUploaded(true);
} catch ({ message }) {
showCallout({
message: <FormattedMessage id="ui-bulk-edit.error.uploadedFile" />,
message: <FormattedMessage id="ui-bulk-edit.error.incorrectFormatted" values={{ fileName:fileToUpload.name }} />,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this should be only when message contains IncorrectTokenCountException

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done!

@@ -21,7 +21,7 @@ import {
JOB_STATUSES,
TRANSLATION_SUFFIX,
EDITING_STEPS,
FILTERS,
FILTERS, ERRORS,
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

plz move to the next line - common codestyle

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

moved!

# Conflicts:
#	src/components/BulkEditList/BulkEditListFilters/BulkEditListFilters.js
Copy link

@NikitaSedyx NikitaSedyx requested a review from a team February 14, 2024 07:47
@NikitaSedyx NikitaSedyx requested a review from a team February 14, 2024 07:48
@UladzislauKutarkin UladzislauKutarkin merged commit 4620e76 into master Feb 14, 2024
6 checks passed
@UladzislauKutarkin UladzislauKutarkin deleted the UIBULKED-210 branch February 14, 2024 11:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants